@function rem($px) {
  @return $px / 46.875 + rem;
}
*{
  margin: 0;
  padding: 0;
}
body{
  display: flex;
  background-color: #AFD3F7;
  overflow: hidden;
}
header{
  z-index: 2;
  position: fixed;
  top: 0;
  width: 100%;
  height:rem(160);
  background-color: deepskyblue;
  .imgBox{
    text-align: center;
    color: white;
    font-size: rem(45);
    line-height: rem(130);
    width: 100%;
    height: 100%;
    background-image: url('../images/title_bg.png');
    background-size: 100% rem(160);
    a{
      padding-left: rem(10);
      width: rem(30);
      height:rem(50);
      display: inline-block;
      position: absolute;
      top:rem(40);
      left: rem(20);
      background-color: transparent;
      background-image: url('../images/back.png');
      -webkit-background-size:rem(40) rem(50);
    }
  }
}


section{
  padding-top: rem(160);
  flex-grow: 1;
  width: 100%;
  .text{
    font-size: rem(10);
    color: whitesmoke;
    padding-left: rem(30);
    padding-right: rem(20);
  }
  .content{
    width: 100%;
    background-color: darkblue;
    margin-top: rem(20);
    ul{
      width:100%;
      height:rem(400);
      margin-top: rem(-80);
    }
    ul>li{
      list-style: none;
      width:100%;
      height:rem(90);
      border:1px solid deepskyblue;
      display: flex;
      justify-content: space-around;
      margin-top: rem(100);
      div{
        width:rem(200);
        height:rem(200);
        border: 1px solid red;
        background-color: green;
        text-align: center;
        font-size: rem(15);
        line-height: rem(100);
        img{
          width: rem(200);
        }
        input{
          width: rem(50);
          height:rem(50);
          border: 1px solid black;
          border-radius: 50%;
          margin-top: rem(80);
        }
      }
    }
  }
}


footer{
  width: 100%;
  height: rem(100);
  border: 1px solid transparent;
  position: fixed;
  bottom:0;
  div{
    float: left;
    width: rem(300);
    height:rem(100);
    border-radius:  15%;
    background-color: #ddd;
    color: whitesmoke;
    text-align: center;
    line-height: rem(100);
    margin-left: rem(20);
  }
  .right{
    float: right;
    margin-right: rem(20);
  }
}
